-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add POM Refactor #124
base: master
Are you sure you want to change the base?
Add POM Refactor #124
Conversation
alvitazwar
commented
Aug 14, 2023
- Refactor Test cases
- Added New Test case
- Added New Assertions
await expect(this.page.locator(selectors.leftAlignedValidate).first()).toBeVisible(); | ||
} | ||
// this function is used to set Right aligned in top position with iconCount style Social Icons | ||
async setRightAlignTopPlaceIcon(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alvitazwar
Add assertion here to validate whether the element is a checkbox for the right alignment is checked.
expect(this.page.locator(selectors.rightAlignment)).toBeChecked();
} | ||
// this function is used to set Right aligned in top position with iconCount style Social Icons | ||
async setRightAlignTopPlaceIcon(){ | ||
await this.page.locator(selectors.topPlacement).check(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Remove the artifacts folder.
- Along with POM implementation, need to update the playwright version as well. Do update the playwright version in package.json.